package com.dingyh.shopwebbackground.service;

import com.dingyh.shopwebbackground.entity.Banned;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dingyh.shopwebbackground.util.CommonResult;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-16
 */
public interface BannedService extends IService<Banned> {
    List<Banned> allList(Map<String,Object> map);
    List<Banned> selectByUseId(Map<String,Object> map);

    CommonResult sveBanned(String userid, String reason, String disable);
}
